package com.example.udp.gala;

import java.io.IOException;
import javax.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;

@Configuration
public class UdpServerConfig {
    @Autowired
    private GalaUdpServer galaUdpServer;
    @PostConstruct
    public void startUdpServer() throws IOException{
        galaUdpServer.startListenUdp();
    }
}
